package org.mms.service;

import org.mms.pojo.entity.MaterialType;
import org.mms.pojo.request.MaterialTypeRequest;

import java.util.List;

public interface MaterialTypeService {
    List<MaterialType> list();
    MaterialType getById(Long id);
    MaterialType create(MaterialTypeRequest request);
    MaterialType update(MaterialTypeRequest request);
    void delete(Long id);
}